/*
 * @Description: 
 * @Author: zoe
 * @Date: 2024-09-14 09:22:59
 * @LastEditors: rendc
 * @LastEditTime: 2024-09-14 09:35:28
 */
//经理类 继承 员工类
public class Manager extends Employee{
    //奖金
    private double bonus;
    public Manager(){
        super();
    }
    //全参
    public Manager(String name, String id,double bonus){
        super(name,id);
        this.bonus = bonus;
    }
    //重写父类的doWork方法
    public void doWork(){
        System.out.println("经理正在工作");
    }
}